package com.xiamaliu.login;

public class LoginForTokenAdapter extends AbstraceAdapter {

    public boolean support(Object adapter) {
        return adapter instanceof IPassportForThird;
    }

    public ResultMsg login(String id, Object adapter) {
        if(!support(adapter)){
            return null;
        }
        return super.loginForRegist(id, null);
    }
}
